function drawBullet() {
    cxt.fillStyle="#f00";
    for(var i =0 ; i< bullets.length ;++i ){
        var tP=bullets[i].point;
        cxt.beginPath();
        cxt.arc(tP.x,tP.y,5,0,2*Math.PI);
        cxt.fill();
    }
}

function Shoot(e) {
    if(e.button==2||shoot||MyImgCode<2)return;
    shoot=true;
    shootStartTime=Date.now();
    var MP=MPoint(e);
    MyAngle=getAngle(I.point,MP);
    var bullet={face:MyAngle,point:toRod(I.point,26,MyAngle)};
    sendMsg(2,bullet);
    toFace(MyAngle,100);
}